package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 电话问诊规则对象 doctor_phone_setting
 *
 * @author ym
 * @date 2020-09-14
 */
@ApiModel("电话问诊规则-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "doctor_phone_setting")
public class DoctorPhoneSettingEntity extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 医生服务项主键
     */
    @ApiModelProperty("医生服务项主键")
    private Long docServId;

    /**
     * 星期
     */
    @ApiModelProperty("星期")
    private String dpsWeek;

    /**
     * 预约时间
     */
    @ApiModelProperty("预约时间")
    private Date appointTime;

    /**
     * 重要标志
     */
    @ApiModelProperty("重要标志")
    private String flag;

    /**
     * 被预约标志
     */
    @ApiModelProperty("被预约标志")
    private String notFalg;

    /**
     * 周天标识
     */
    @ApiModelProperty("周天标识")
    private Integer weekFlag;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

}
